package com.lagou.java.service;

import org.springframework.stereotype.Service;

/**
 * @Classname UserServiceImpl
 * @Description TODO
 * @Date 2020/7/22 12:53
 * @Created by pc
 */
//@AllArgsConstructor
//@Data
@Service("UserService")
public class UserServiceImpl implements UserService {

    @Override
    public String sayHello(String msg) {
//        String res = "调用成功--参数" + msg;
        String res = msg;
        System.out.println("方法 sayHello 执行结果为：" + res);
        return "success";
    }

}
